ScheduledItem class¶
Defined in
Namespace: System.Reactive.Concurrency
Assembly: System.Reactive.dll
Full name: System.Reactive.Concurrency.ScheduledItem<T>
Modifiers: public abstract
Summary¶
Abstract base class for scheduled work items.
Applies to
netstandard2.0
Class hierarchy
classDiagram
class ScheduledItem~T~
class IScheduledItem~TAbsolute~ {
<>
}
IScheduledItem~TAbsolute~ <|.. ScheduledItem~T~
class IComparable~ScheduledItem~TAbsolute~~ {
<>
}
IComparable~ScheduledItem~TAbsolute~~ <|.. ScheduledItem~T~
class IDisposable {
<>
}
IDisposable <|.. ScheduledItem~T~
Implements: IScheduledItem
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Creates a new scheduled work item to run at the specified time. |
Properties¶
| Name | Summary |
|---|---|
| DueTime | Gets the absolute time at which the item is due for invocation. |
| IsCanceled | Gets whether the work item has received a cancellation request. |
Methods¶
| Name | Summary |
|---|---|
| Invoke | Invokes the work item. |
| InvokeCore | Implement this method to perform the work item invocation, returning a disposable object for deep cancellation. |
| CompareTo | Compares the work item with another work item based on absolute time values. |
| Equals | Determines whether a [ScheduledItem](# object is equal to the specified object. |
| GetHashCode | Returns the hash code for the current [ScheduledItem](# object. |
| Cancel | Cancels the work item by disposing the resource returned by [InvokeCore](# as soon as possible. |
Operators¶
| Name | Summary |
|---|---|
| static op_LessThan | Determines whether one specified [ScheduledItem](# object is due before a second specified [ScheduledItem](# |
| static op_LessThanOrEqual | Determines whether one specified [ScheduledItem](# object is due before or at the same of a second specified... |
| static op_GreaterThan | Determines whether one specified [ScheduledItem](# object is due after a second specified [ScheduledItem](# |
| static op_GreaterThanOrEqual | Determines whether one specified [ScheduledItem](# object is due after or at the same time of a second specified... |
| static op_Equality | Determines whether two specified [ScheduledItem](# objects are equal. |
| static op_Inequality | Determines whether two specified [ScheduledItem](# objects are inequal. |